package com.fg.cloud.manager.service.factory.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fg.cloud.manager.entry.BaseEntity;
import com.fg.cloud.manager.entry.factory.FactoryProcessEntity;
import com.fg.cloud.manager.mapper.BaseMapper;
import com.fg.cloud.manager.mapper.factory.FactoryProcessMapper;
import com.fg.cloud.manager.service.BaseServiceImpl;
import com.fg.cloud.manager.service.factory.FactoryProcessService;

/**
 * @author liushengchao
 * @Description: 订货流程节点接口实现 
 * @date 2017年6月15日上午9:18:24
 *
 */
@Service
public class FactoryProcessServiceImpl extends BaseServiceImpl implements FactoryProcessService{

	@Autowired
	private FactoryProcessMapper processMapper ; 
	
	@Override
	protected <T extends BaseEntity> BaseMapper getBaseMapper() {
		return processMapper;
	}
	
	/**
	 * @Description: 通过厂商ID查询厂商流程节点信息 
	 * @param facId 厂商ID
	 * @return FactoryProcessEntity  流程节点信息
	 * @author liushengchao
	 * @date 2017年6月15日下午3:55:58
	 * @throws 
	 *
	 */
	@Override
	public FactoryProcessEntity selectByFacId(Long facId) {
		return processMapper.selectByfacId(facId);
	}

}
